+Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
+ GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
+ * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c,
+ gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c,
+ gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
+ GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
+
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
+Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
+ GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
+ * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c,
+ gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c,
+ gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
+ GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
+
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
+Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
+ GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
+ * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c,
+ gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c,
+ gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
+ GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
+
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
+Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
+ GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
+ * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c,
+ gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c,
+ gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
+ GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
+
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
+Wed Dec 17 23:20:23 2003 Matthias Clasen <maclas@gmx.de>
+
+ * gtk/gtkexpander.c (gtk_expander_animation_timeout): Add missing
+ GDK_THREADS_ENTER()/GDK_THREADS_LEAVE().
+ * gtk/gtkcalendar.c, gtk/gtkclist.c, gtk/gtkexpander.c,
+ gtk/gtklist.c, gtk/gtknotebook.c, gtk/gtkselection.c,
+ gtk/gtkspinbutton.c: Cast second argument to g_timeout_add() to
+ GSourceFunc instead of GtkFunction. (#129525, Olexiy Avramchenko)
+
Wed Dec 17 23:16:45 2003 Kristian Rietveld <kris@gtk.org>
* gtk/gtktreeview.c (gtk_tree_view_button_press): fix compile warning.
{
private_data->need_timer = FALSE;
private_data->timer = g_timeout_add (CALENDAR_TIMER_DELAY,
- (GtkFunction) calendar_timer,
+ (GSourceFunc) calendar_timer,
(gpointer) calendar);
}
else
return FALSE;
clist->htimer = g_timeout_add
- (SCROLL_TIME, (GtkFunction) horizontal_timeout, clist);
+ (SCROLL_TIME, (GSourceFunc) horizontal_timeout, clist);
if (!((x < 0 && clist->hadjustment->value == 0) ||
(x >= clist->clist_window_width &&
return FALSE;
clist->vtimer = g_timeout_add (SCROLL_TIME,
- (GtkFunction) vertical_timeout, clist);
+ (GSourceFunc) vertical_timeout, clist);
if (clist->drag_button &&
((y < 0 && clist->focus_row == 0) ||
GdkRectangle area;
gboolean finish = FALSE;
+ GDK_THREADS_ENTER();
+
if (GTK_WIDGET_REALIZED (expander))
{
get_expander_bounds (expander, &area);
gtk_widget_queue_resize (GTK_WIDGET (expander));
}
+ GDK_THREADS_LEAVE();
+
return !finish;
}
if (list->htimer == 0)
{
list->htimer = g_timeout_add
- (SCROLL_TIME, (GtkFunction) gtk_list_horizontal_timeout, widget);
+ (SCROLL_TIME, (GSourceFunc) gtk_list_horizontal_timeout, widget);
if (!((x < adj->value && adj->value <= 0) ||
(x > adj->value + adj->page_size &&
if (!((y < 0 && focus_row == 0) ||
(y > widget->allocation.height && focus_row >= length - 1)))
list->vtimer = g_timeout_add (SCROLL_TIME,
- (GtkFunction) gtk_list_vertical_timeout,
+ (GSourceFunc) gtk_list_vertical_timeout,
list);
if (row != focus_row)
if (!notebook->timer)
{
notebook->timer = g_timeout_add (NOTEBOOK_INIT_SCROLL_DELAY,
- (GtkFunction) gtk_notebook_timer,
+ (GSourceFunc) gtk_notebook_timer,
(gpointer) notebook);
notebook->need_timer = TRUE;
}
{
notebook->need_timer = FALSE;
notebook->timer = g_timeout_add (NOTEBOOK_SCROLL_DELAY,
- (GtkFunction) gtk_notebook_timer,
+ (GSourceFunc) gtk_notebook_timer,
(gpointer) notebook);
}
else
current_retrievals = g_list_append (current_retrievals, info);
gdk_selection_convert (widget->window, selection, target, time);
- g_timeout_add (1000, (GtkFunction) gtk_selection_retrieval_timeout, info);
+ g_timeout_add (1000, (GSourceFunc) gtk_selection_retrieval_timeout, info);
return TRUE;
}
gdk_window_get_events (info->requestor) |
GDK_PROPERTY_CHANGE_MASK);
current_incrs = g_list_append (current_incrs, info);
- g_timeout_add (1000, (GtkFunction)gtk_selection_incr_timeout, info);
+ g_timeout_add (1000, (GSourceFunc) gtk_selection_incr_timeout, info);
}
/* If it was a MULTIPLE request, set the property to indicate which
spin->timer_step = step;
spin->need_timer = TRUE;
spin->timer = g_timeout_add (SPIN_BUTTON_INITIAL_TIMER_DELAY,
- (GtkFunction) gtk_spin_button_timer,
+ (GSourceFunc) gtk_spin_button_timer,
(gpointer) spin);
}
{
spin_button->need_timer = FALSE;
spin_button->timer = g_timeout_add (SPIN_BUTTON_TIMER_DELAY,
- (GtkFunction) gtk_spin_button_timer,
+ (GSourceFunc) gtk_spin_button_timer,
(gpointer) spin_button);
}
else